<div class="weui-tabbar">
    <a href="<?php echo getUrl('home')?>" <?php if($active == 'home'):?> class="weui-tabbar__item weui-bar__item_on"
        <?php else:?> class="weui-tabbar__item" <?php endif;?>>
        <?php if($active == 'home'):?>
            <img src="<?php echo $this->staticUrl?>img/png/pic81-2.png" alt="" class="weui-tabbar__icon">
        <?php else:?>
            <img src="<?php echo $this->staticUrl?>img/png/pic81.png" alt="" class="weui-tabbar__icon">
        <?php endif;?>
        <p class="weui-tabbar__label">首页</p>
    </a>
    <a href="<?php echo getUrl('friendsCircle/buyers');?>" <?php if($active == 'friends'):?> class="weui-tabbar__item weui-bar__item_on"
    <?php else:?> class="weui-tabbar__item" <?php endif;?>>
        <?php if($active == 'friends'):?>
            <img src="<?php echo $this->staticUrl?>img/png/pic82-2.png" alt="" class="weui-tabbar__icon">
        <?php else:?>
            <img src="<?php echo $this->staticUrl?>img/png/pic82.png" alt="" class="weui-tabbar__icon">
        <?php endif;?>
        <p class="weui-tabbar__label">发现</p>
    </a>
    <a href="<?php echo getUrl('order/orderList?type=1&page=1')?>" <?php if($active == 'order'):?> class="weui-tabbar__item weui-bar__item_on"
    <?php else:?> class="weui-tabbar__item" <?php endif;?>>
        <?php if($active == 'order'):?>
            <img src="<?php echo $this->staticUrl?>img/png/pic83-2.png" alt="" class="weui-tabbar__icon">
        <?php else:?>
            <img src="<?php echo $this->staticUrl?>img/png/pic83.png" alt="" class="weui-tabbar__icon">
        <?php endif;?>
        <p class="weui-tabbar__label">订单</p>
    </a>
    <a href="<?php echo getUrl('user')?>" <?php if($active == 'user'):?> class="weui-tabbar__item weui-bar__item_on"
    <?php else:?> class="weui-tabbar__item" <?php endif;?>>
        <?php if($active == 'user'):?>
            <img src="<?php echo $this->staticUrl?>img/png/pic84-2.png" alt="" class="weui-tabbar__icon">
        <?php else:?>
            <img src="<?php echo $this->staticUrl?>img/png/pic84.png" alt="" class="weui-tabbar__icon">
        <?php endif;?>
        <p class="weui-tabbar__label">我的</p>
    </a>
</div>